﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using DotNetStar.TheKing.Infrastructure;
using Microsoft.Extensions.Caching.Memory;

namespace DotNetStar.TheKing.Services
{
    using Models;
    using Domain;
    using System.Linq;
    using SDDP;

    public class CommonService : ServiceBase
    {
        private UserService _userService;
        private IStorage<Attachment, Guid> _attachmentStorage;
        public CommonService(IMemoryCache memoryCache,
            UserService userService,
             IStorage<Attachment, Guid> attachmentStorage
            ) : base( memoryCache)
        {
            this._userService = userService;
            this._attachmentStorage = attachmentStorage;
        }

        //public async Task<ExecutedResult> CreateAttachmentAsync()
        //{
        //    return ExecutedResult.Success();
        //}
    }

}
